home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Text⁄Files / FaceLift / FaceLift Folder / FLFileStuff.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-16  |  558 b   |  21 lines  |  [TEXT/KAHL]

  1. /*
  2.  * FileStuff.h - File operation header file
  3.  */
  4.  
  5.  
  6. # ifndef    _FileStuff_
  7.  
  8. # define    _FileStuff_
  9.  
  10.  
  11. void FileErr (OSErr errNo);
  12. Boolean GetInputFile (StringPtr bTitle, OSType type, SFReply *inFile);
  13. Boolean OpenInputFile (SFReply *inFile, short *f);
  14. Boolean GetOutputFile (Boolean ask, StringPtr fName, short vRefNum, SFReply *outFile);
  15. Boolean OpenOutputFile (SFReply *outFile, OSType creator, OSType type, short *f);
  16. void FileSeek (short f, long pos);
  17. Boolean FileRead (short f, Ptr p, long amount);
  18. Boolean FileWrite (short f, Ptr p, long amount);
  19.  
  20. # endif
  21.